//
//  TableSectionItem.swift
//  Swift-Tools
//
//  Created by gree on 2020/10/22.
//

import Foundation
import RxDataSources

struct TableSection<T> {
    var header: String
    var items: [T]
}

extension TableSection: SectionModelType {
    typealias Item = T
    
    init(original: TableSection, items: [T]) {
        self = original
        self.items = items
    }
}
